Atum\Inc\Helpers D

Total Complexity 520
Dependencies 32
Dependents 67
Total lines 4,004
Lines of code 2,008
Logical lines of code 1,121
Comment lines 1,172
Methods 99
Properties 0

Methods 99

Method Rating Maintainability Complexity Lines of code
get_sold_last_days()
D
25
31 179
update_product_data()
D
33 34 85
search_products()
C
31 28 106
get_orders()
C
30 27 116
save_order_note_meta()
C
36 26 78
get_atum_icon_type()
A
44 14 47
change_status_meta()
A
39 12 71
force_rebuild_stock_status()
A
42 12 54
array_group_by()
A
51 13 25
get_log_item_qty()
A
45 12 38
get_atum_order_model()
A
48 10 32
suppliers_dropdown()
A
44 9 46
product_data_query_clauses()
A
48 10 30
get_order_note_ids()
A
47 9 37
get_product_stock_on_hold()
A
44 8 43
load_view()
A
50 8 28
product_types_dropdown()
A
46 7 36
is_rest_request()
A
55 8 17
get_valid_search_terms()
S
50 7 30
get_wc_time()
S
48 7 30
get_product_inbound_stock()
S
44 6 42
locate_template()
S
52 7 25
get_product_lost_sales()
S
52 7 24
get_atum_product()
S
53 7 22
get_product_prop()
S
54 7 20
is_plugin_installed()
S
55 7 19
get_unmanaged_products()
S
47 5 36
get_atum_order_post_type_statuses()
S
56 6 18
get_logs()
S
49 5 33
load_psr4_classes()
S
56 6 18
trim_input()
S
57 6 17
get_atum_user_meta()
S
59 6 13
get_product_out_stock_days()
S
53 5 22
get_bundle_items()
S
56 5 18
get_atum_uploads_dir()
S
59 5 12
update_atum_control()
S
61 5 11
in_multi_array()
S
63 5 11
get_all_products()
S
51 4 26
convert_php_date_format_to_moment()
S
44 2 46
maybe_use_wc_order_product_lookup_table()
S
57 4 15
get_option()
S
62 5 10
convert_object_to_array()
S
64 5 9
flat_array()
S
61 4 12
read_parent_product_type()
S
55 3 20
get_relative_date()
S
56 3 18
validate_mysql_date()
S
66 4 8
date_format()
S
64 4 9
unique_multidim_array()
S
61 3 13
get_data_att()
S
61 3 12
get_visual_mode_style()
S
62 3 12
set_atum_user_meta()
S
62 3 11
get_wp_timezone_string()
S
61 3 11
get_rating_text()
S
57 2 16
is_product_restock_status()
S
61 3 10
is_atum_ajax()
S
76 3 3
update_wc_manage_stock()
S
67 3 7
get_att()
S
69 3 6
get_options()
S
66 3 8
format_price()
S
65 3 8
get_option_group_hidden_classes()
S
67 3 7
get_support_buttons()
S
63 2 11
array_to_data()
S
62 2 11
get_utc_time()
S
62 2 11
doing_heartbeat()
S
77 2 3
secure_directory()
S
59 1 15
is_using_cot_list()
S
78 2 3
is_using_hpos_tables()
S
79 2 3
get_term_ids_by_slug()
S
58 1 15
is_running_cli()
S
79 2 3
array_keys_exist()
S
67 2 8
add_help_tab()
S
62 2 10
get_atum_control_status()
S
70 2 6
is_product_data_outdated()
S
77 2 3
get_atum_product_class()
S
65 2 9
is_atum_product()
S
77 2 3
is_any_out_stock_threshold_set()
S
62 1 11
unrot_token()
S
70 1 7
load_view_to_string()
S
72 1 5
register_swal_scripts()
S
73 1 4
decode_json_string()
S
77 1 3
atum_field_label()
S
80 1 5
sanitize_psr4_class_name()
S
77 1 3
update_atum_setting()
S
68 1 7
atum_field_input_addon()
S
67 1 9
get_sold_last_days_option()
S
78 1 3
adjust_long_process_settings()
S
70 1 6
enqueue_atum_colors()
S
79 1 3
is_atum_controlling_stock()
S
79 1 3
is_inheritable_type()
S
79 1 3
get_atum_user_agent()
S
78 1 3
get_order_items()
S
71 1 5
get_raw_wc_order_status()
S
78 1 3
get_atum_order_model_from_item_id()
S
70 1 5
get_current_timestamp()
S
79 1 3
get_input_step()
S
80 1 3
get_atum_image_placeholder()
S
73 1 5
get_product_image_placeholder()
S
81 1 3
get_color_value()
S
79 1 3
is_child_type()
S
79 1 3